﻿using System;
using Microsoft.Xna.Framework;

namespace MaterialEditor
{
    public static class Extentions
    {
        public static Vector3 ToVector3(this Vector4 value)
        {
            return new Vector3(value.X, value.Y, value.Z);
        }

        public static Vector4 ToVector4(this Vector3 value)
        {
            return new Vector4(value, 0.0f);
        }
    }
}